import Vue from 'vue'
import Router from 'vue-router'
import firstPage from '@/pages/firstPage'
import secondPage from '@/pages/secondPage'
import panel from '@/assets/js/app/cmlpanel'
Vue.use(Router)
let router = new Router({
  routes: [
    {
      path: '/', //路由默认跳转
      redirect: 'firstPage'
    },
    {
      name: 'firstPage',
      path: '/firstPage',
      component: firstPage,
      nameText: 'Tab副标题1'
    },
    {
      name: 'secondPage',
      path: '/secondPage',
      component: secondPage,
      nameText: 'Tab副标题2'
    }
  ]
})
export default router
